<template>
  <div class="layout-page pt-32px">
    <div class="layout-page-inner w-1328px bg-white p-32px">
      <h1 class="font-size-32px text-center fw-500">关于我们</h1>
      <div class="h-1px bg-#d8d8d8 my-40px"></div>
      <div class="ql-editor" v-html="info"></div>
    </div>
  </div>
</template>

<script setup>
import { useNewsList } from "@/hooks";

const { list } = useNewsList({ pageSize: 1, infoType: 3 });
const info = ref("");
watch(
  () => list.value,
  (val) => {
    if (!val.length) return;
    info.value = val[0].infoDetailDesc;
  }
);
</script>
